package com.hospital.service.intf;

import com.hospital.dto.LogisticsDto;
import com.hospital.vo.PageBean;
import com.hospital.vo.R;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.util.List;

public interface LogisticsService {
    /**
     * 新增*/
    R add(LogisticsDto logisticsDto, HttpServletRequest request);
    /**
     * 修改*/
    R update(LogisticsDto logisticsDto);
    R updateState(Integer id ,Integer state);
    /**
     * 删除*/
    R delete(Integer id);
    /**
     * 查询总条数 带条件*/
    PageBean selectPage(String info, int page, int limit);

    List<LogisticsDto> all();

    R upload(MultipartFile file) throws IOException;
    R delIds(int[] ids);

    R statetj();

}
